@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/user_info.css?v=20200718" rel="stylesheet">
<div style="height: 100%" id="userInfoForm">
    <input type="hidden" id="deptid">
    <div style="background: #6090b8;color: white;padding: 5px 10px;">添加用户</div>
    <div class="userBox">
        <div>
            <div>
                <span>账户 <span style="color: red">*</span></span>
                <input autocomplete="off" type="text" id="account"/>
            </div>
            <div>
                <span>性别</span>
                <select id="sex" name="sex">
                    <option value="1">男</option>
                    <option value="2">女</option>
                </select>
            </div>
            <div>
                <span>密码 <span style="color: red">*</span></span>
                <input id="password" autocomplete="off" type="password" value=""/>
            </div>
            <div>
                <span>角色</span>
                <input autocomplete="off" type="text" id="roleid" disabled="disabled"
                       style="box-shadow: 0 0 0 60px #cccccc inset;"/>
            </div>
            <div>
                <span>邮箱</span>
                <input id="email" autocomplete="off" name="email" type="email" value=""/>
            </div>
            <div>
                <span>审核节点</span>
                <select id="auditNode" name="auditNode">
                    <option value="0">请选择</option>
                    <option value="1">一级审核</option>
                    <option value="2">二级审核</option>
                </select>
            </div>
            <div>
                <span>高级收欠费权限</span>
                <select id="isRefundAdmin" name="isRefundAdmin">
                    <option value="0">否</option>
                    <option value="1">是</option>
                </select>
            </div>
        </div>
        <div>
            <div>
                <span>姓名 <span style="color: red">*</span></span>
                <input autocomplete="off" id="name" type="text"/>
            </div>
            <div>
                <span>出生日期</span>
                <input id="birthday" type="date" onclick="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
            </div>
            <div>
                <span>确认密码 <span style="color: red">*</span></span>
                <input id="rePassword" type="password"/>
            </div>
            <div style="display: none">
                <span>部门 <span style="color: red">*</span></span>
                <input autocomplete="off" id="citySel" onclick="UserInfoDlg.showDeptSelectTree(); return false;" style="background-color: #ffffff !important;"/>
            </div>
            <div>
                <span>电话</span>
                <input autocomplete="off" id="phone" type="text"/>
            </div>
            <div>
                <span title="渠道审核等级">渠道审核等级</span>
                <input autocomplete="off" id="channelAuditLevel" value="0" oninput="value=value.replace(/[^\d]/g,''),updateLevel(this)" onchange="value=value.replace(/[^\d]/g,''),updateLevels(this)" type="text"/>
            </div>
            <div>
                <span title="高级退费权限">高级退费权限</span>
                <select id="dealyes" name="dealyes">
                    <option value="0">否</option>
                    <option value="1">是</option>
                </select>
            </div>
        </div>
    </div>
    <!-- 这是部门选择的下拉框 -->
    <div id="menuContent" class="menuContent" style="display: none; position: absolute; z-index: 200;">
        <ul id="treeDemo" class="ztree tree-box" style="width: 210px !important;"></ul>
    </div>
    <div class="btnBox">
        <button type="button" class="btn" id="ensure" onclick="UserInfoDlg.addSubmit()">提交</button>
        <button type="button" class="btn" id="cancel" onclick="UserInfoDlg.close()">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/user/user_info.js?v=20200718"></script>
@}